﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace projetoFinal
{
    public enum situacaoFinanceira
    {
        naoInformado = 0,
        emDia = 1,
        atrasado = 2
    }

    public class prestadorServico : cliente
    {
        #region Atributos
        #endregion

        #region Propriedades
        public Int32 Tipo
        {
            get { return 2; }
        }
        #endregion

        #region Métodos
        public prestadorServico()
        {
            base.CodCadastro = 0;
            base.Nome = string.Empty;
            base.Matricula = string.Empty;
            base.Cnpj = string.Empty;
            base.RazaoSocial = string.Empty;
            base.Cep = string.Empty;
            base.Endereco = string.Empty;
            base.Complemento = string.Empty;
            base.Numero = string.Empty;
            base.Bairro = string.Empty;
            base.Cidade = string.Empty;
            base.Uf = string.Empty;
            base.Fone = string.Empty;
            base.TipoPlano = null;
            base.ValorPlano = null;
            base.Status = status.ativo;
            base.SitFinanceiro = situacaoFinanceira.naoInformado;
        }
        public prestadorServico(Int64 codCadastro, string nome, string matricula, tipoPlano tipoPlano, status status, situacaoFinanceira sitFinanceiro)
        {
            base.CodCadastro = codCadastro;
            base.Nome = nome;
            base.Matricula = matricula;
            base.Cnpj = string.Empty;
            base.RazaoSocial = string.Empty;
            base.Cep = string.Empty;
            base.Endereco = string.Empty;
            base.Complemento = string.Empty;
            base.Numero = string.Empty;
            base.Bairro = string.Empty;
            base.Cidade = string.Empty;
            base.Uf = string.Empty;
            base.Fone = string.Empty;
            base.TipoPlano = tipoPlano;
            base.ValorPlano = null;
            base.Status = status;
            base.SitFinanceiro = sitFinanceiro;
        }
        #endregion
    }
}
